#function(idata,title,window,icon)

local utils=sys.link_object("utils");

//#import toolbox;

local tb=utils.toolbox.create(); //toolbox.helper.new_toolbox();


tb.idata=idata;
tb.title=title||_hT("Toolbox#toolbox");
tb.window=window||"toolbox.dialog";
tb.icon=icon||"AppIcon";


tb.evt_init=function(model)
{

};

tb.dlg_init=function(model)
{
	local km=model.maker;
	
	km.win(model.context.window,km.title(model.context.title).flags(km.IWND_NO_CLOSE|km.IWND_AUTO_FIT).sprops("icon",model.context.icon));
		km.win("row");
		km.end();
	km.end();
	
};


return tb;

